package com.kalvan.log.logback;

import com.kalvan.sensitive.annotation.Desensitized;
import com.kalvan.sensitive.enums.SensitiveType;

import java.io.Serializable;


public class MerchantInfo implements Serializable {

    private static final long serialVersionUID = -1L;

    private final String orderId = "order0001";

    @Desensitized(type = SensitiveType.ID_CARD)
    private String idcard;
    @Desensitized(type = SensitiveType.BANK_CARD)
    private String bankcard;

    @Desensitized(type = SensitiveType.EMAIL)
    private String email;

    @Desensitized(type = SensitiveType.ADDRESS)
    private String address;

    @Desensitized(type = SensitiveType.MOBILE_PHONE)
    private String phone;

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getBankcard() {
        return bankcard;
    }

    public void setBankcard(String bankcard) {
        this.bankcard = bankcard;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
